package com.car.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.car.entity.Vehicle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 车辆Mapper接口
 *
 * @author Car System
 */
@Mapper
public interface VehicleMapper extends BaseMapper<Vehicle> {

    /**
     * 分页查询车辆（带客户信息）
     */
    IPage<Vehicle> selectVehiclePageWithCustomer(Page<Vehicle> page, @Param("keyword") String keyword);
}

